UNBLINDED DRAFT FOR POPL’14 Categorical Organisation of the Ornament–Refinement Framework

نویسندگان

  • Hsiang-Shang Ko
  • Jeremy Gibbons
چکیده

Dependently typed programming uses precise variants of data structures to ensure program correctness in an economical way, but designing reusable libraries for all possible variants of data structures is a difficult problem. The authors addressed the problem by extending McBride’s ornaments to a framework of ornaments and refinements to support a modular structure for dependently typed libraries. We use lightweight category theory to organise the ornament–refinement framework and establish that parallel composition of ornaments, a key construction in the framework, gives rise to certain pullback properties. Two important sets of isomorphisms in the framework are then reconstructed using the pullback properties. This categorical organisation — which is completely formalised in the dependently typed language Agda — helps to separate the lower-level detail of the universes from the higherlevel constructions of the isomorphisms, and to gain an abstract and effective understanding of the isomorphisms and the overall structure of the framework.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Mayur Naik — Research Statement

Modern computing platforms comprising commercial clouds, multi-core laptops and desktops, and smartphones, tablets, and wearables pose significant challenges to developing high-quality software in aspects such as reliability, security, performance, scalability, and energy efficiency. My research in the area of programming languages and software engineering addresses this problem using a general...

متن کامل

A Process for Developing the Statement of Internet Research Ethics based on Action Research Method

Background: Research ethics in cyberspace or Internet research ethics (IRE) is a subset of applied ethics that aims to study, introduce, and apply ethical codes for guiding research activities in cyberspace. The compilation of the ethical statement is based on two methods of documentary research and action research. The action research process is implemented in four stages: 1) diagnosis, 2) act...

متن کامل

Project Report Categorical Judgments in a Logical Framework 15-816 Modal Logic

Categorical judgments possess a context-clearing property, making them difficult to express elegantly in the LF logical framework because the context of available LF hypotheses grows monotonically. We describe a connection between categorical judgments and a refinement to open terms of LF’s subordination relation. Leveraging this connection, we propose a logical framework, based on open-terms s...

متن کامل

POPL: G: Refinement Types for Incremental Computational Complexity

With recent advances, programs can be compiled to efficiently respond to incremental input changes. However, there is no language-level support for reasoning about the time complexity of incremental updates. Motivated by this gap, we present CostIt, a higher-order functional language with a lightweight refinement type system for proving asymptotic bounds on incremental computation time. Type re...

متن کامل

مقاومت کششی ، مقاومت ویژه و توان مالبندی موردنیاز گاو آهن قلمی (چیزل) ، در سطوح مختلف رطوبت خاک و عمق شخم

The effects of three levels of soil moisture content (8-10, 10-12 and 12-14% d.b.) and three levels of plowing depth (15, 20 and 25 cm) on draft, specific draft and drawbar power requirement of a 7-shank chisel plow in a clay loam soil were investigated. The experimental design was a randomized complete block design with a 3×4 factorial. The effect of plowing depth on all of the parameters ment...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013